<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>TestScript</title>
</head>
测试JavaScript语法
<body>
<script type="text/javascript" src="base64.js"></script>
<script type="text/javascript" src="msutil.js"></script>
<script type="text/javascript" src="umspprotocol.js"></script>
<!--<script type="text/javascript" src="umspclient.js"></script>-->
<script type="text/javascript">

    var arr = [];
    arr.unshift(1);
    arr.unshift(2);
    arr.unshift(3);
    arr.pop();
    console.log("[INFO] arr " + arr);


    var Umsp = function (namespace) {


    }();

    function NetWorkCallBack() {}

    NetWorkCallBack.prototype.onMsg = function (buf) {
        console.log("[INFO] onMsg ");
    };
    NetWorkCallBack.prototype.onErr = function (errCode, errMsg) {
        console.log("[INFO] onErr ");
    };
    var cb = new NetWorkCallBack();
    cb.onErr();
</script>
</body>
</html>